<template>
  <div class="test">
    <input v-bind="$attrs"/>
  </div>
</template>
<script lang="ts">
import { defineComponent } from 'vue'

export default defineComponent({
  inheritAttrs: false,
  setup(props, context) {
    console.log('context:', context.attrs)
    return {}
  }
})
</script>
